<template>
  <demoBlock title="基础用法" >
    <vcu-cell is-link @click="showPopup" value="展示弹出层"></vcu-cell>
    <vcu-popup v-model:show="show" :style="{ padding: '30px 50px' }">
      内容
    </vcu-popup>
  </demoBlock>
</template>


<script>
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    const show = ref(false);
    const showPopup = () => {
      show.value = true;
    };
    return {
      show,
      showPopup,
    };
  },
});
</script>